<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>2B社区后台 | TO BIGGER</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="description" content="">
    <meta name="keywords" content="coco bootstrap template, coco admin, bootstrap,admin template, bootstrap admin,">
    <meta name="author" content="Huban Creative">

    <!-- Base Css Files -->
    <link href="__ADLIBS__jqueryui/ui-lightness/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
    <link href="__ADLIBS__bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="__ADLIBS__font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="__ADLIBS__fontello/css/fontello.css" rel="stylesheet"/>
    <link href="__ADLIBS__animate-css/animate.min.css" rel="stylesheet"/>
    <link href="__ADLIBS__nifty-modal/css/component.css" rel="stylesheet"/>
    <link href="__ADLIBS__magnific-popup/magnific-popup.css" rel="stylesheet"/>
    <link href="__ADLIBS__ios7-switch/ios7-switch.css" rel="stylesheet"/>
    <link href="__ADLIBS__pace/pace.css" rel="stylesheet"/>
    <link href="__ADLIBS__sortable/sortable-theme-bootstrap.css" rel="stylesheet"/>
    <link href="__ADLIBS__bootstrap-datepicker/css/datepicker.css" rel="stylesheet"/>
    <link href="__ADLIBS__jquery-icheck/skins/all.css" rel="stylesheet"/>
    <!-- Code Highlighter for Demo -->
    <link href="__ADLIBS__prettify/github.css" rel="stylesheet"/>

    <!-- Extra CSS Libraries Start -->
    <link href="__ADLIBS__rickshaw/rickshaw.min.css" rel="stylesheet" type="text/css"/>
    <link href="__ADLIBS__morrischart/morris.css" rel="stylesheet" type="text/css"/>
    <link href="__ADLIBS__jquery-jvectormap/css/jquery-jvectormap-1.2.2.css" rel="stylesheet" type="text/css"/>
    <link href="__ADLIBS__jquery-clock/clock.css" rel="stylesheet" type="text/css"/>
    <link href="__ADLIBS__bootstrap-calendar/css/bic_calendar.css" rel="stylesheet" type="text/css"/>
    <link href="__ADLIBS__sortable/sortable-theme-bootstrap.css" rel="stylesheet" type="text/css"/>
    <link href="__ADLIBS__jquery-weather/simpleweather.css" rel="stylesheet" type="text/css"/>
    <link href="__ADLIBS__bootstrap-xeditable/css/bootstrap-editable.css" rel="stylesheet" type="text/css"/>
    <link href="__ADCSS__style.css" rel="stylesheet" type="text/css"/>
    <!-- Extra CSS Libraries End -->
    <link href="__ADCSS__style-responsive.css" rel="stylesheet"/>

<!--    数据表-->
    <link href="__ADLIBS__jquery-datatables/css/dataTables.bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="__ADLIBS__jquery-datatables/extensions/TableTools/css/dataTables.tableTools.css" rel="stylesheet" type="text/css" />
<!--    表单-->
    <link href="__ADLIBS__bootstrap-select/bootstrap-select.min.css" rel="stylesheet" type="text/css" />
    <link href="__ADLIBS__summernote/summernote.css" rel="stylesheet" type="text/css" />


    <link href="__ADLIBS__jquery-notifyjs/styles/metro/notify-metro.css" rel="stylesheet" type="text/css" />

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->

    <link rel="shortcut icon" href="__ADIMG__favicon.ico">
    <link rel="apple-touch-icon" href="__ADIMG__apple-touch-icon.png"/>
    <link rel="apple-touch-icon" sizes="57x57" href="__ADIMG__apple-touch-icon-57x57.png"/>
    <link rel="apple-touch-icon" sizes="72x72" href="__ADIMG__apple-touch-icon-72x72.png"/>
    <link rel="apple-touch-icon" sizes="76x76" href="__ADIMG__apple-touch-icon-76x76.png"/>
    <link rel="apple-touch-icon" sizes="114x114" href="__ADIMG__apple-touch-icon-114x114.png"/>
    <link rel="apple-touch-icon" sizes="120x120" href="__ADIMG__apple-touch-icon-120x120.png"/>
    <link rel="apple-touch-icon" sizes="144x144" href="__ADIMG__apple-touch-icon-144x144.png"/>
    <link rel="apple-touch-icon" sizes="152x152" href="__ADIMG__apple-touch-icon-152x152.png"/>
    <script src="__ADLIBS__jquery/jquery-1.11.1.min.js"></script>

    <link rel="stylesheet" href="__ADCSS__mycss/toastr.min.css">


</head>
<body class="fixed-left">
<!-- Modal Start -->
<!-- Modal Logout -->
<div class="md-modal md-just-me" id="logout-modal">
	<div class="md-content">
		<h3><strong>退出</strong> 确认</h3>
		<div>
			<p class="text-center">你确认要退出 <strong>2B社区</strong> 吗?</p>
			<p class="text-center">
				<button class="btn btn-danger md-close">不,返回</button>
				<a href="{:url('admin/Index/logout')}" class="btn btn-success md-close">是的,我确定</a>
			</p>
		</div>
	</div>
</div>        <!-- Modal End -->
<!-- Begin page -->
<div id="wrapper">

    <!-- Top Bar Start -->
    <div class="topbar">
        <div class="topbar-left">
            <div class="logo">
                <h1><a href="#"><img src="__ADIMG__logo.png" alt="Logo"></a></h1>
            </div>
            <button class="button-menu-mobile open-left">
                <i class="fa fa-bars"></i>
            </button>
        </div>
        <!-- Button mobile view to collapse sidebar menu -->
        <div class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-collapse2">
                    <ul class="nav navbar-nav navbar-right top-navbar">
                        <li class="dropdown iconify hide-phone"><a href="#" onclick="javascript:toggle_fullscreen()"><i
                            class="icon-resize-full-2"></i></a></li>
<!--                        -->
                    </ul>
                </div>
                <!--/.nav-collapse -->
            </div>
        </div>
    </div>
    <!-- Top Bar End -->
    <!-- Left Sidebar Start -->
    <div class="left side-menu">
        <div class="sidebar-inner slimscrollleft">
            <div class="clearfix"></div>
            <!--- Profile -->
            <div class="profile-info">
                <div class="col-xs-4">
                    <a href="#" class="rounded-image profile-image"><img src="__IMG__2blogo.jpg"></a>

                </div>
                <div class="col-xs-8">
                    <div class="profile-text">{:session('admin')['real_name']}</div>
                    <div class="profile-buttons">
                        <a class="md-trigger" title="Sign Out" data-modal="logout-modal"><i class="fa fa-power-off text-red-1"></i></a>
                    </div>
                </div>
            </div>
            <!--- Divider -->
            <div class="clearfix"></div>
            <hr class="divider"/>
            <div class="clearfix"></div>
            <!--- Divider -->
            {block name="sidebar"}
            <div id="sidebar-menu">
                <ul>
                    <li class='has_sub'><a href='javascript:void(0);'><i class='icon-home-3'></i><span>仪表盘</span>
                        <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                        <ul>
                            <li><a href='{:url("admin/Index/login")}' class='active'><span>首页</span></a></li>
                        </ul>
                    </li>
                    <li class='has_sub'><a href='javascript:void(0);'><i
                        class='icon-feather'></i><span>用户管理</span> <span class="pull-right"><i
                            class="fa fa-angle-down"></i></span></a>
                        <ul>
                            <li><a href='{:url("admin/User/index")}'><span>用户列表</span></a></li>
                            <li><a href='{:url("admin/User/create")}'><span>用户添加</span></a></li>
                        </ul>
                    </li>
                    <li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-map-marker'></i><span>管理员管理</span>
                        <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                        <ul>
                            <li><a href='{:url("admin/Admin/index")}'><span>管理员列表</span></a></li>
                            <li><a href='{:url("admin/Admin/create")}'><span>管理员添加</span></a></li>
                        </ul>
                    </li>
                    <li class='has_sub'><a href='javascript:void(0);'><i class='icon-pencil-3'></i><span>角色管理</span>
                        <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                        <ul>
                            <li><a href='{:url("admin/role/index")}'><span>角色列表</span></a></li>
                        </ul>
                    </li>
                    <li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-table'></i><span>权限管理</span>
                        <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                        <ul>
                            <li><a href='{:url("admin/auth/index")}'><span>权限列表</span></a></li>
                            <li><a href='{:url("admin/auth/create")}'><span>权限添加</span></a></li>
                        </ul>
                    </li>
                    <li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-envelope'></i><span>笔记管理</span>
                        <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                        <ul>
                            <li><a href='{:url("admin/Note/index")}'><span>笔记列表</span></a></li>
                        </ul>
                    </li>
                    <li class='has_sub'><a href='javascript:void(0);'><i class='icon-chart-line'></i><span>分类管理</span>
                        <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                        <ul>
                            <li><a href='{:url("admin/Category/index")}'><span>分类列表</span></a></li>
                            <li><a href='{:url("admin/Category/add")}'><span>分类添加</span></a></li>
                            <li><a href='{:url("admin/Category/noteList")}'><span>笔记类型列表</span></a></li>
                            <li><a href='{:url("admin/Category/noteAdd")}'><span>笔记类型添加</span></a></li>
                        </ul>
                    </li>
                    <li class='has_sub'><a href='javascript:void(0);'><i class='icon-megaphone'></i><span>评论管理</span>
                        <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                        <ul>
                            <li><a href='{:url("admin/Comment/index")}'><span>评论列表</span></a></li>
                        </ul>
                    </li>
                    <li class='has_sub'><a href='javascript:void(0);'><i class='icon-megaphone'></i><span>新闻管理</span>
                        <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                        <ul>
                            <li><a href='{:url("admin/news/index")}'><span>新闻列表</span></a></li>
                            <li><a href='{:url("admin/news/create")}'><span>添加新闻</span></a></li>
                        </ul>
                    </li>
                    <li class='has_sub'><a href='javascript:void(0);'><i class='icon-megaphone'></i><span>推荐管理</span>
                        <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                        <ul>
                            <li><a href='{:url("admin/Top/index")}'><span>推荐列表</span></a></li>
                        </ul>
                    </li>
                </ul>
                <div class="clearfix"></div>
            </div>
            {/block}
            <div class="clearfix"></div>
            <br><br><br>
        </div>
    </div>
    <!-- Left Sidebar End -->            <!-- Right Sidebar Start -->


    <!-- Right Sidebar End -->
    <!-- Start right content -->

    <div class="content-page">
        <!-- ============================================================== -->
        <!-- Start Content here -->
        <!-- ============================================================== -->
        <div class="content">
            {block name="main"}
            <!-- Start info box -->
            <div class="row top-summary">
                <div class="col-lg-3 col-md-6">
                    <div class="widget green-1 animated fadeInDown">
                        <div class="widget-content padding">
                            <div class="widget-icon">
                                <i class="icon-globe-inv"></i>
                            </div>
                            <div class="text-box">
                                <p class="maindata">用户 <b>总数</b></p>
                                <h2><span class="animate-number" data-value="{$user}" data-duration="3000">0</span></h2>
                                <div class="clearfix"></div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-lg-3 col-md-6">
                    <div class="widget darkblue-2 animated fadeInDown">
                        <div class="widget-content padding">
                            <div class="widget-icon">
                                <i class="icon-bag"></i>
                            </div>
                            <div class="text-box">
                                <p class="maindata">笔记 <b>总数</b></p>
                                <h2><span class="animate-number" data-value="{$note}" data-duration="3000">0</span></h2>

                                <div class="clearfix"></div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-lg-3 col-md-6">
                    <div class="widget pink-1 animated fadeInDown">
                        <div class="widget-content padding">
                            <div class="widget-icon">
                                <i class="fa fa-dollar"></i>
                            </div>
                            <div class="text-box">
                                <p class="maindata">评论 <b>总数</b></p>
                                <h2><span class="animate-number" data-value="{$comment}" data-duration="3000">0</span></h2>
                                <div class="clearfix"></div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-lg-3 col-md-6">
                    <div class="widget lightblue-1 animated fadeInDown">
                        <div class="widget-content padding">
                            <div class="widget-icon">
                                <i class="fa fa-users"></i>
                            </div>
                            <div class="text-box">
                                <p class="maindata">总<b>推荐</b></p>
                                <h2><span class="animate-number" data-value="{$top}" data-duration="3000">0</span></h2>
                                <div class="clearfix"></div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
            <!-- End of info box -->
            <div class="col-lg-4 col-md-6 portlets">
                <div id="calc" class="widget darkblue-2">
                    <div class="widget-header">
                        <div class="additional-btn left-toolbar">
                            <div class="btn-group">
                                <a class="additional-icon" id="dropdownMenu2" data-toggle="dropdown">
                                    计算器 <i class="fa fa-angle-down"></i>
                                </a>
                                <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu2">
                                    <li><a href="#">保存</a></li>
                                    <li><a href="#">导出</a></li>
                                    <li class="divider"></li>
                                    <li><a href="#">退出</a></li>
                                </ul>
                            </div>
                        </div>
                        <div class="additional-btn">
                            <a href="#" class="hidden reload"><i class="icon-ccw-1"></i></a>

                            <a href="#" class="widget-popout hidden tt" title="Pop Out/In"><i
                                class="icon-publish"></i></a>
                            <a href="#" class="widget-close"><i class="icon-cancel-3"></i></a>
                        </div>
                    </div>
                    <div id="calculator" class="widget-content">
                        <div class="calc-top col-xs-12">
                            <div class="row">
                                <div class="col-xs-3"><span class="calc-clean">C</span></div>
                                <div class="col-xs-9">
                                    <div class="calc-screen"></div>
                                </div>
                            </div>
                        </div>

                        <div class="calc-keys col-xs-12">
                            <div class="row">
                                <div class="col-xs-3"><span>7</span></div>
                                <div class="col-xs-3"><span>8</span></div>
                                <div class="col-xs-3"><span>9</span></div>
                                <div class="col-xs-3"><span class="calc-operator">+</span></div>
                            </div>
                            <div class="row">
                                <div class="col-xs-3"><span>4</span></div>
                                <div class="col-xs-3"><span>5</span></div>
                                <div class="col-xs-3"><span>6</span></div>
                                <div class="col-xs-3"><span class="calc-operator">-</span></div>
                            </div>
                            <div class="row">
                                <div class="col-xs-3"><span>1</span></div>
                                <div class="col-xs-3"><span>2</span></div>
                                <div class="col-xs-3"><span>3</span></div>
                                <div class="col-xs-3"><span class="calc-operator">÷</span></div>
                            </div>
                            <div class="row">
                                <div class="col-xs-3"><span>0</span></div>
                                <div class="col-xs-3"><span>.</span></div>
                                <div class="col-xs-3"><span class="calc-eval">=</span></div>
                                <div class="col-xs-3"><span class="calc-operator">x</span></div>
                            </div>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
            {/block}
        </div>
    </div>

</div>
<!-- Footer Start -->
<footer>
	Huban Creative &copy; 2014
	<div class="footer-links pull-right">
		<a href="#">关于我们</a><a href="#">支持</a><a href="#">服务条款</a><a href="#">协议</a><a
			href="#">帮助</a><a href="#">联系我们</a>
	</div>
</footer>
<!-- Footer End -->

<!-- ============================================================== -->
<!-- End content here -->
<!-- ============================================================== -->

<div class="md-overlay"></div>

<!-- End right content -->
<script>
    var resizefunc = [];
</script>


<!-- End of page -->
<!-- the overlay modal element -->
<!-- End of eoverlay modal -->




<script src="__ADLIBS__bootstrap/js/bootstrap.min.js"></script>
<script src="__ADLIBS__jqueryui/jquery-ui-1.10.4.custom.min.js"></script>
<script src="__ADLIBS__jquery-ui-touch/jquery.ui.touch-punch.min.js"></script>
<script src="__ADLIBS__jquery-detectmobile/detect.js"></script>
<script src="__ADLIBS__jquery-animate-numbers/jquery.animateNumbers.js"></script>
<script src="__ADLIBS__ios7-switch/ios7.switch.js"></script>
<script src="__ADLIBS__fastclick/fastclick.js"></script>
<script src="__ADLIBS__jquery-blockui/jquery.blockUI.js"></script>
<script src="__ADLIBS__bootstrap-bootbox/bootbox.min.js"></script>
<script src="__ADLIBS__jquery-slimscroll/jquery.slimscroll.js"></script>
<script src="__ADLIBS__jquery-sparkline/jquery-sparkline.js"></script>
<script src="__ADLIBS__nifty-modal/js/classie.js"></script>
<script src="__ADLIBS__nifty-modal/js/modalEffects.js"></script>
<script src="__ADLIBS__sortable/sortable.min.js"></script>
<script src="__ADLIBS__bootstrap-fileinput/bootstrap.file-input.js"></script>
<script src="__ADLIBS__bootstrap-select/bootstrap-select.min.js"></script>
<script src="__ADLIBS__bootstrap-select2/select2.min.js"></script>
<script src="__ADLIBS__magnific-popup/jquery.magnific-popup.min.js"></script>
<script src="__ADLIBS__pace/pace.min.js"></script>
<script src="__ADLIBS__bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<script src="__ADLIBS__jquery-icheck/icheck.min.js"></script>

<!-- Demo Specific JS Libraries -->
<script src="__ADLIBS__prettify/prettify.js"></script>

<script src="__ADJS__init.js"></script>
<!-- Page Specific JS Libraries -->
<script src="__ADLIBS__d3/d3.v3.js"></script>
<script src="__ADLIBS__rickshaw/rickshaw.min.js"></script>
<script src="__ADLIBS__raphael/raphael-min.js"></script>
<!--<script src="__ADLIBS__morrischart/morris.min.js"></script>-->
<script src="__ADLIBS__jquery-knob/jquery.knob.js"></script>
<script src="__ADLIBS__jquery-jvectormap/js/jquery-jvectormap-1.2.2.min.js"></script>
<script src="__ADLIBS__jquery-jvectormap/js/jquery-jvectormap-us-aea-en.js"></script>
<script src="__ADLIBS__jquery-clock/clock.js"></script>
<script src="__ADLIBS__jquery-easypiechart/jquery.easypiechart.min.js"></script>
<script src="__ADLIBS__jquery-weather/jquery.simpleWeather-2.6.min.js"></script>
<script src="__ADLIBS__bootstrap-xeditable/js/bootstrap-editable.min.js"></script>
<script src="__ADLIBS__bootstrap-calendar/js/bic_calendar.min.js"></script>
<script src="__ADJS__apps/calculator.js"></script>
<script src="__ADJS__apps/todo.js"></script>
<script src="__ADJS__apps/notes.js"></script>
<script src="__ADJS__pages/index.js"></script>
<!--数据表-->
<script src="__ADLIBS__jquery-datatables/js/jquery.dataTables.min.js"></script>
<script src="__ADLIBS__jquery-datatables/js/dataTables.bootstrap.js"></script>
<script src="__ADLIBS__jquery-datatables/extensions/TableTools/js/dataTables.tableTools.min.js"></script>
<script src="__ADJS__pages/datatables.js"></script>
<!--表单-->
<script src="__ADLIBS__bootstrap-select/bootstrap-select.min.js"></script>
<script src="__ADLIBS__bootstrap-inputmask/inputmask.js"></script>
<script src="__ADLIBS__summernote/summernote.js"></script>

<!--myjs-->
<script src="__ADJS__pages/forms.js"></script>
<script src="__ADJS__myjs/toastr.min.js"></script>


<!--表单-->
<script src="__ADLIBS__bootstrap-select/bootstrap-select.min.js"></script>
<script src="__ADLIBS__bootstrap-inputmask/inputmask.js"></script>
<script src="__ADLIBS__summernote/summernote.js"></script>
<script src="__ADJS__pages/forms.js"></script>
<script src="__ADLIBS__jquery-notifyjs/notify.min.js"></script>
<script src="__ADLIBS__jquery-notifyjs/styles/metro/notify-metro.js"></script>
{block name="script"}
<!--搜索-->

<script type="text/javascript" src="__ADJS__myjs/modernizr.custom.js"></script>

<script type="text/javascript" src="__ADJS__myjs/waypoints.min.js"></script>

<script type="text/javascript" src="__ADJS__myjs/waypoints-sticky.min.js"></script>

<script type="text/javascript" src="__ADJS__myjs/jquery.hideseek.min.js"></script>

<script type="text/javascript" src="__ADJS__myjs/rainbow-custom.min.js"></script>

<script type="text/javascript" src="__ADJS__myjs/jquery.anchor.js"></script>

<script src="__ADJS__myjs/initializers.js"></script>
{/block}

</body>
</html>